package com.cheng.operation;

import com.cheng.common.exception.CommonException;
import com.cheng.data.entity.CompanyBaseInfoEntity;
import com.cheng.data.vo.CompanyBaseInfoVO;

import java.util.List;

/**
 * @author: ChengJW
 * @date: 2021/11/7 21:54
 * @version: 1.0
 * @description: 有关 companyBaseInfo 的业务逻辑处理
 */
public interface CompanyBaseInfoOperation {

    /**
    * @author: ChengJW
    * @params: [entity]
    * @return: com.cheng.data.entity.CompanyBaseInfoEntity
    * @date: 2021/11/8
    * @description: 根据条件查询企业基本信息
    */
    CompanyBaseInfoEntity queryCompanyBaseInfo(CompanyBaseInfoEntity entity) throws CommonException;

    /**
     * @author: ChengJW
     * @params: [entity]
     * @return: com.cheng.data.vo.CompanyBaseInfoVO
     * @date: 2021/9/20
     * @description: 根据条件查询一条 companyBaseInfo 信息，并返回VO
     */
    CompanyBaseInfoVO selectOneCompanyInfo(CompanyBaseInfoEntity entity) throws CommonException;
}
